<div id="wrap">
  <div class="module">
    <p id="notice"><%= notice %></p>

    <h3><%= @book.title %></h3>
    
    <p>
      <b>Cover Type:</b>
      <%= @book.cover_type %>
    </p>

    <p>
      <b>ISBN:</b>
      <%= @book.isbn %>
    </p>

    <p>
      <b>Author:</b>
      <%= @book.author.firstname + " " + @book.author.lastname %>
    </p>
    
    <p>
      <b>Owner:</b>
      <%= @book.owner %>
    </p>
    
    <p>
      <b>Location:</b>
      <%= @book.location %>
    </p>
    
    <p>
      <b>Synopsis:</b>
      <%= @book.synopsis %>
    </p>


    <%= link_to 'Edit', edit_book_path(@book) %> |
    <%= link_to 'Back', books_path %>
  </div>
</div>